apache2 welcome page not showing

您所在的位置:网站首页 dlapiperconz apache2 ubuntu default page it works apache2 welcome page not showing

apache2 welcome page not showing

2023-09-03 02:15| 来源: 网络整理| 查看: 265

This question was closed because the problem as described can't be reproduced. It is not currently accepting answers.

This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers.

Closed last year.

Improve this question

I recently asked a question here about bugzilla, but I think it's really just my apache2 install. when browsing to http://my.ip.addr I get this text:

Index of / [ICO] Name Last modified Size Description Apache/2.4.18 (Ubuntu) Server at 192.168.0.13 Port 80

instead of the welcome screen. Most of the docs I found simply said to install apache2 and I should be up and running.

In the other question, I had two errors, one about the missing prefork package, and one about the ps output. Given that apache is so widely used, it's weird to me that it wasn't more straight-forward.

I found this doc that is more specific to 16.04, and it says to run the ufw command.

Update

ufw status:

Status: active To Action From -- ------ ---- Apache Full ALLOW Anywhere 22 ALLOW Anywhere Apache Full (v6) ALLOW Anywhere (v6) 22 (v6) ALLOW Anywhere (v6)

I have this in my apache2.conf. (I changed it a couple of times, what should the correct value be?)

Options Indexes FollowSymLinks AllowOverride None Require all granted

And I do have the /var/www/html/index.html file present. With the directory value set as above, I get this message when viewing in a browser:

Forbidden You don't have permission to access / on this server.

update I resolved this by purging/removing apache2 and re-installing.



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3